﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.TradeChannel
{
    /// <summary>
    /// 通知服务
    /// </summary>
    public interface INotifyService
    {
        /// <summary>
        /// 订单付款通知
        /// </summary>
        /// <param name="order">订单</param>
        void OrderPayNotify(ITradeOrderQueryResult order);

        /// <summary>
        /// 订单退款通知
        /// </summary>
        /// <param name="result">结果</param>
        void OrderRefundNotify(ITradeRefundApplyResult result);
    }
}
